package com.shangcheng.server.service;

import com.shangcheng.dubbo.api.UmsMemberLevelApi;
import com.shangcheng.model.domain.UmsMemberLevel;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shiqiang
 * @version 1.0
 * @date 2022/5/13 22:28
 */
@Service
public class UmsMemberLevelService {
    @DubboReference
    private UmsMemberLevelApi umsMemberLevelApi;
    /**
     * 查询所有会员等级
     * @return
     */
    public List<UmsMemberLevel> memberLevelList(Integer defaultStatus) {
        return umsMemberLevelApi.memberLevelList(defaultStatus);
    }
}
